home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- set tButtonState to word 2 of the name of member the memberNum of sprite the clickOn of castLib the castLibNum of sprite the clickOn
- case tButtonState of
- "upState":
- hMakeSound("CLICK.AIF", 1)
- if hValidClick01() = 1 then
- hButtonScripts(tButtonState)
- end if
- "rolloverState":
- hMakeSound("CLICK.AIF", 1)
- if hValidClick02() = 1 then
- hButtonScripts(tButtonState)
- end if
- end case
- end
-
- on hButtonScripts pButtonState
- global gSubCategoriesList, gProductNumber
- hChangeCursor("watch")
- if pButtonState = "rolloverState" then
- hUndoButtonRollover()
- end if
- hAddToBackTrackList()
- set tSelectedCategory to getProp(gSubCategoriesList, the clickOn)
- hAddToSectionTrackList(tSelectedCategory)
- go("D", gProductNumber & tSelectedCategory)
- end
-